<template>
  <PlanPage ref="planPage" plan-type="RP" />
</template>

<script>
import PlanPage from '@/views/plan-bp/index.vue';

export default {
  components: {
    PlanPage,
  },
  beforeRouteEnter(to, from, next) {
    next((vm) => {
      if (to.query?.id) {
        vm.$refs.planPage.handleNumberClick(to.query)
      }
    });
  },
};
</script>
<style scoped>
/* .connect {
  display: flex;
  justify-content: space-between;
  width: 100%;
} */
</style>
